.
Changes to your domain can take up to hours to display across the Internet. However, once they do, you can visit your domain name and view the test page you created earlier!Adding Additional virtual hostsTo create additional sites, repeat the following sections:
Set up the virtual host
Create Content for the website
Create virtual host File-but For additional virtual hosts, you'll need to the Create new config files /etc/
How to log on to FTP using vsftpd on centos 7 with multiple hosts
1) yum install vsftpd
2) mkdir-p/var/virtual/zbphp.com/?public_html,logs,backup}
3) useradd zbphp.com-d/var/virtual/zbphp.com
4) configure the vsftpd configuration file/etc/vsftpd. conf to enable chroot_list and add zbphp.com to/etc/vsftpd/chroot_list.
5) change the listening port of vsftpd to
# Allow IP addresses of the 192.168.0. network segment to access the smbd serviceThe "ALL" keyword matches ALL cases. The "Deny t" keyword matches ALL cases EXCEPT some items, and the "PARANOID" keyword matches the IP address you want to control and the domain name does not match.
The above is the access restriction knowledge for Linux hosts. allow and
IP address will be added to hosts. deny, and you will not be able to log on. I have never logged in. How can I go in?
Answer: You must have failed to log on to this IP address before. It exceeds the threshold value in your configuration file, so it will automatically help you add it.
Solution:
1. Clear the log file according to the secure_log in your denyhosts. cfg configuration.
For example,/var/log/secure.
The command is Echo "">/var/log/secure.
Abstract: By default, the iptables information filtering system is installed in centos. Currently, you need to configure the system to allow remote access to mysql. Related Knowledge: iptables related 1. iptables service/etc/init. d/iptablesstart | stop | restart |... 2. configuration file location/etc/sysconfig/iptables-config3, policy file
Abstract:
CentosBy default
IptablesInformation filtering system
Create a user in centos 7 and a user in centos 7
Create a new user
Create a user named xiaoming:
[Root @ 192 ~] # Adduser xiaoming
When initializing a password for this user, linux determines the password complexity, but you can forcibly ignore it:
[Root @ 192 ~] # Passwd xiaomingChange the password of xiaoming.New pas
-13t3jSecond, CentOS Introduction:CentOS (Community ENTerprise Operating System) is one of the Linux distributions and is compiled from Red Hat ENTerprise Linux based on source code released under open source rules. Because of the same source code, some servers that require a high degree of stability are used with CentOS instead of the commercial version of Red Hat Enterprise Linux. The difference between t
The following simple guide, "the VNC server on RHEL 7/centos 7 machines, VNC help to share the desktop wit H The other machines which have a client installed. VNC server and client is not a installed by default, you need to setup the VNC server manually.Before installing the VNC server, let us install Gnome desktop.
[[emailprotected]~]#yumgroupins
source code, some servers that require a high degree of stability are used with CentOS instead of the commercial version of Red Hat Enterprise Linux. The difference between the two is that CentOS does not contain closed source code software.CentOS 7:http://mirrors.hust.edu.cn/centos/7.0.1406/isos/x86_64/Third, the ins
static ip address so that the ip address will not be re-allocated after the machine restarts.
Add hostname:
Run the vi/etc/sysconfig/network command to add HOSTNAME = HH.
Note: To modify the hostname in Centos 7, you also need to use the hostnamectl command to set it:
Hostnamectl set-hostname hh
Then query hostnamectl, such:
You can see that the static hostname has been modified.
Host Name ing
Run
Centos 7 linux System Default ftp installation configuration and deployment (detailed description), centos installation Configuration
It took a long time for the minor to contact the Linux system and wanted to solve the problem of ftp installation and deployment in the linux system.The configuration methods of experts have been integrated. If anything is wrong, y
Set up DNS service on CentOS 7
Document Description:
This document uses a case study to deploy DNS services on CentOS 7. This case is only a summary of my knowledge about how to deploy the DNS service. It is not a case in the production environment. In addition, the CentOS s
1. Before installing VNC, first install GNOME on CentOSYum " GNOME Desktop " " Graphical administration Tools "2. Installing Tigervnc and X11Yum Install tigervnc-server xorg-x11-fonts-type13. Copy the VNC configuration fileCP /lib/systemd/system/[email protected]/etc/systemd/system/[email protected]:5. Service4. Edit the copied fileVI /etc/systemd/system/[email protected]:5. Service5. Use your own user in place of the 6. Set the firewall to allow conn
template:
# Note: The command is executed in the same location as the JSON template
[root@linuxprobe src]# curl-xput ' Http://localhost:9200/_template/filebeat?pretty '- D@filebeat-index-template.json
{
"acknowledged": true
}
Now our Elk server is ready to receive filebeat data and move to set filebeat on each client server. Set Filebeat (add Client server)
Follow these steps for each CentOS or Rhel 7
Build a high-availability cluster in CentOS 7
This article uses two machines to implement dual-collector for high-availability clusters. the IP address of the Host Name node1 is 192.168.123168, And the IP address of the Host Name node2 is 192.168.123169.1. Install cluster Software
Software pcs, pacemaker, corosync, fence-agents-all are required. If you need to configure related services, install the corre
The original is installed on CentOS 7 phpMyAdminphpMyAdmin is a PHP-based, Web MYSQL/MARIADB database management tool. Although there are already some lightweight database management tools such as Adminer, phpMyAdmin is more widely used by webmasters to perform various mysql/mariadb management tasks. It supports almost all MySQL database/table related operations, such as browse, create, copy, delete, rename
Build RAID5, LVM, and SAMBA server (5) on CentOS 7 -- set up SAMBA Server
Build RAID5, LVM, and SAMBA server (5) on CentOS 7 -- set up SAMBA Server
6. Set up a SAMBA Server6.1. PreparationsThe task in this section is to configure the SAMBA service, share the/home/shared directory, so that the specified Windows user can
the client to provide a MD5-encrypted password for authentication. You need to edit the/var/lib/pgsql/9.3/data/pg_hba.conf file:
Vi/var/lib/pgsql/9.3/data/pg_assist.conf
The added or modified rows are as follows:
[...]
# TYPE DATABASE USER ADDRESS METHOD
# "Local" is for Unix domain socket connections only
Local all md5
# IPv4 local connections:
Host all 127.0.0.1/32 md5
Host all 192.168.1.0/24 md5
# IPv6 local connections:
Host all: 1/128 md5
[...]
Restart the postgresql service to change the
the client to provide a MD5-encrypted password for authentication. You need to edit the/var/lib/pgsql/9.3/data/pg_hba.conf file:
Vi/var/lib/pgsql/9.3/data/pg_assist.conf
The added or modified rows are as follows:
[...]
# TYPE DATABASE USER ADDRESS METHOD
# "Local" is for Unix domain socket connections only
Local all md5
# IPv4 local connections:
Host all 127.0.0.1/32 md5
Host all 192.168.1.0/24 md5
# IPv6 local connections:
Host all: 1/128 md5
[...]
Restart the postgresql service to change th
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.